File tree 1 file changed +6
-7
lines changed 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 45
45
uses : actions/download-artifact@v4
46
46
47
47
- name : Release
48
- uses : softprops/action-gh-release@v2
49
- with :
50
- files : |
51
- build-*/*
48
+ run : gh release upload ${{ github.ref_name }} build-*/* --repo ${{ github.repository }}
49
+ env :
50
+ GH_TOKEN : ${{ github.token }}
52
51
53
52
deploy_npm :
54
53
name : Deploy npm
@@ -131,7 +130,7 @@ jobs:
131
130
# a real dependency on the released version of Sass.
132
131
- name : Get Dart Sass version
133
132
id : dart-sass-version
134
- run : echo "version=${GITHUB_REF##*/ }" | tee --append "$GITHUB_OUTPUT"
133
+ run : echo "version=${{ github.ref_name } }" | tee --append "$GITHUB_OUTPUT"
135
134
- run : npm install sass@${{ steps.dart-sass-version.outputs.version }}
136
135
working-directory : pkg/sass-parser/
137
136
@@ -190,7 +189,7 @@ jobs:
190
189
191
190
- name : Get version
192
191
id : version
193
- run : echo "version=${GITHUB_REF##*/ }" | tee --append "$GITHUB_OUTPUT"
192
+ run : echo "version=${{ github.ref_name } }" | tee --append "$GITHUB_OUTPUT"
194
193
195
194
- name : Wait for npm registry's CDN to catch up on replications
196
195
run : sleep 600
@@ -219,7 +218,7 @@ jobs:
219
218
- name : Get version
220
219
id : version
221
220
run : |
222
- echo "version=${GITHUB_REF##*/ }" | tee --append "$GITHUB_OUTPUT"
221
+ echo "version=${{ github.ref_name } }" | tee --append "$GITHUB_OUTPUT"
223
222
echo "protocol_version=$(curl -fsSL -H "Authorization: Bearer ${{ github.token }}" https://raw.githubusercontent.com/sass/sass/HEAD/spec/EMBEDDED_PROTOCOL_VERSION)" | tee --append "$GITHUB_OUTPUT"
224
223
225
224
- name : Update version
You can’t perform that action at this time.
0 commit comments